package com.gfhd.multithread.thread_comunication;

public class ThreadDemo5 {
    public void test(){
        Account acc = new Account("ICBC-112",0);
        new DrawThread(acc,"小明").start();
        new DrawThread(acc,"小红").start();

        new DepositThread(acc,"亲爹").start();
        new DepositThread(acc,"干爹").start();
        new DepositThread(acc,"岳父").start();
    }
}
